package org.yin.hang.dao;

import org.yin.hang.pojo.mechanism;

import java.util.List;

public interface MechanismDao extends CommonDao<mechanism,Integer> {


    public void add(mechanism mechanism);
    public void delete(Integer id);
    public void batchDelete(Integer[] ids);
    public void update(mechanism mechanism);
    public mechanism getById(Integer id);
    public List<mechanism> getAll();
    public List<mechanism> getByName();
}
